<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-30 11:09:53
 * @LastEditTime: 2019-10-03 20:01:20
 * @LastEditors: Please set LastEditors
 -->
<template>
  <div>
    <headers :name="title"></headers>
    <div class="box">
      <p class="title">问题描述</p>
      <div>
        <textarea name="" id="" class="textarea"></textarea>
      </div>
      <p class="title">联系方式</p>
      <div>
        <input type="text">
      </div>
      <div class="submit">提交</div>
    </div>
  </div>
</template>

<script>
  // Use Vuex
  import store from "./store";
  import headers from '@/pages/headers/index.vue'
  export default {
    data() {
      return {
        title:'意见反馈'
      };
    },
    components:{
      headers
    },
    computed: {
      count() {
        return store.state.count;
      }
    },
    methods: {
      increment() {
        store.commit("increment");
      },
      decrement() {
        store.commit("decrement");
      }
    },
    mounted() {

    }
  };
</script>

<style scoped>
  .box{
    margin: 25px 12px;
  }
  .title{
    font-size: 15px;
    color: #000;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  .textarea{
    width: 330px;
    height: 120px;
    background-color: #f3f1f4;
    border-radius: 8px;
    padding: 10px;
    margin: 0 auto;
  }
  input{
    background-color: #f3f1f4;
    width: 330px;
    height: 34px;
    margin: 0 auto;
    padding: 0 10px;
    border-radius: 8px;
  }
  .submit{
    width: 350px;
    height: 35px;
    background-color: #2BA245;
    border-radius: 17px;
    text-align: center;
    font-size: 15px;
    line-height: 35px;
    color: #ffffff;
    margin-top: 15px;
  }
</style>
